import request from "@/utils/request";
// 标签列表
export function tagsList(query) {
  return request({
    url: "/commodity/tag/list",
    method: "get",
    params: query,
  });
}
//更新排序
export function changeSort(data) {
  return request({
    url: "/commodity/tag/changeSort",
    method: "put",
    data,
  });
}

//是否展示
export function changeShow(data) {
  return request({
    url: "/commodity/tag/isShow",
    method: "put",
    data,
  });
}
//同步

export function synProductBrand() {
  return request({
    url: "/commodity/tag/synProductTag",
    method: "get",
  });
}
